{include file="public/header" /}

<body style="background-color: #f1f1f1;" class="bingli">
<form action="">
    <div class="cont">
        <div class="wrapper">
            <div class="top">
                <div class="person">
                    <p class="title">X线诊断</p>
                    <div class="bot">
                        <div class="img_box">
                            {include file="public/seximg" /}

                        </div>
                        <div class="right">
                            <span class="name">{$patient.name}</span>
                            <span>{$patient.sex|get_sex_str}</span>
                            <span><em>{$patient.birth}</em>岁</span>
                            <p>{$patient.document_num}</p>
                        </div>
                    </div>
                </div>
                <!-- 信息的  开始 -->
                <div class="lists">
                    <ul>
                        <li>
                            <span>流水号：</span>
                            <span>123456</span>
                        </li>
                        <li>
                            <span>检查时间：</span>
                            <span>2016-05-28</span>
                        </li>
                        <li>
                            <span>检查类型：</span>
                            <span>X线</span>
                        </li>
                        <li>
                            <span>检查部位：</span>
                            <span>立位腹部平片</span>
                        </li>
                        <li>
                            <span>检查印象：</span>
                            <span>提示肠梗阻，跟访</span>
                        </li>
                    </ul>
                </div>
                <!-- 信息的  结束 -->
                <!-- 三个的图标按钮  开始 -->
                <div class="btn_box">
                    <ul>
                        <li>
                            <a href="{:url('patient/electronic_report')}">
                                <img src="__STATIC__/index/imgs/bingli_btn_1.png" alt="">
                                <p>电子报告</p>
                            </a>
                        </li>
                        <li>
                            <a href="{:url('patient/electronic_film')}">
                                <img src="__STATIC__/index/imgs/bingli_btn_2.png" alt="">
                                <p>电子胶片</p>
                            </a>
                        </li>
                        <li>
                            <a href="{:url('patient/electronic_report')}">
                                <img src="__STATIC__/index/imgs/bingli_btn_3.png" alt="">
                                <p>影像处理</p>
                            </a>
                        </li>
                    </ul>
                </div>
                <!-- 三个的图标按钮  结束 -->
                <!-- 右上角的 分享按钮 -->
                <div class="share_btn">
                    <img src="__STATIC__/index/imgs/share_btn.png" alt="">
                </div>
            </div><!--  top 的结束-->

            <div class="more_enter">
                <ul class="enter_btns">
                    <li>
                        <a href="{:url('patient/check_list')}">
                            <span>检查记录</span>
                            <em></em>
                        </a>
                    </li>
                    <li>
                        <a href="{:url('patient/check_list')}">
                            <span>影像问诊</span>
                            <em></em>
                        </a>
                    </li>
                </ul>
            </div>
        </div><!-- wrapepr 的结束-->
        <div class="share_box">
            <div class="center">
                <div class="middle">
                    <p class="title">分享</p>
                    <p>此二维码五分钟有效，超时请重新获取</p>
                    <div class="ewm_box">
                        <div class="yeah">
                            <img src="__STATIC__/index/imgs/ewm_1.jpg" alt="">
                        </div>
                        <div class="no">
                            <img src="__STATIC__/index/imgs/ewm_2.jpg" alt="">
                        </div>
                    </div>
                    <div class="duigou">
                            <span>
                                <input type = "checkbox" id="to_set_2" class="chk_1" name = "check"/>
                                <label for="to_set_2"></label>
                            </span>
                        <em>允许对方查看我的检查记录</em>
                    </div>
                    <!-- 右上角的 关闭按钮 -->
                    <div class="colse_btn">
                        <img src="__STATIC__/index/imgs/colse.png" alt="">
                    </div>
                </div>
            </div>
        </div>
    </div><!-- cont 的结束-->
</form>
</body>

<script>
    $(function(){
        $(".bingli .cont .top .share_btn").click(function(){
            $(".bingli .cont .share_box").show();
        });
        $(".bingli .cont .share_box .center .middle .colse_btn").click(function(){
            $(".bingli .cont .share_box").hide();
        });

        // 单击 选中的 按钮  切换  二维码
        $(function(){
            // 点击后再点击  会切换
            var init = 0 ;
            $('.bingli .cont .share_box .duigou .chk_1').click(function(){
                if(init%2 == 0){
                    $(".bingli .cont .share_box .center .middle .ewm_box>div.no").css({"display":" inline-block"});
                    $(".bingli .cont .share_box .center .middle .ewm_box>div.yeah").hide();
                }else{
                    $(".bingli .cont .share_box .center .middle .ewm_box>div.no").hide()
                    $(".bingli .cont .share_box .center .middle .ewm_box>div.yeah").css({"display": "inline-block"});
                }
                init++;
            })
        })
    })
</script>
</html>